export const publicRangeOptions = [
  { label: '普通', value: '普通', type: '' },
  { label: 'VIP', value: 'VIP', type: '' },
  { label: 'SVIP', value: 'SVIP', type: '' }
]

export const examinationTypeOption = [
  { label: '免费', value: '免费', type: '' },
  { label: '收费', value: '收费', type: '' }
]

export const examinationOptions = [
  { label: '单选题', value: '单选题', type: 'danger' },
  { label: '判断题', value: '判断题', type: '' },
  { label: '主观题', value: '主观题', type: 'warning' },
  { label: '多选题', value: '多选题', type: '' },
  { label: '填空题', value: '填空题', type: 'success' }
]

export const getOptionType = (status) => {
  const info = examinationOptions.find(item => item.value === status) ?? {}
  return info.label
}
